package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 游戏记录对象 wx_records
 * 
 * @author ruoyi
 * @date 2025-08-06
 */
public class WxRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 微信id */
    @Excel(name = "微信id")
    private String wxId;

    /** 商家id */
    @Excel(name = "商家id")
    private Long deptId;

    /** 游戏类型 */
    @Excel(name = "游戏类型")
    private String gameType;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 应付金额 */
    @Excel(name = "应付金额")
    private Double amount;

    /** 游戏状态：0正在游玩，1结束游玩未付款，2已付款 */
    private String status;

    /** 微信信息 */
    private WxUser wxUser;

    /** 店铺信息 */
    private SysDept dept;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setWxId(String wxId)
    {
        this.wxId = wxId;
    }

    public String getWxId()
    {
        return wxId;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setGameType(String gameType) 
    {
        this.gameType = gameType;
    }

    public String getGameType() 
    {
        return gameType;
    }

    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    public void setAmount(Double amount)
    {
        this.amount = amount;
    }

    public Double getAmount()
    {
        return amount;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setWxUser(WxUser wxUser)
    {
        this.wxUser = wxUser;
    }

    public WxUser getWxUser()
    {
        return wxUser;
    }

    public void setDept(SysDept dept)
    {
        this.dept = dept;
    }

    public SysDept getDept()
    {
        return dept;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wxId", getWxId())
            .append("deptId", getDeptId())
            .append("gameType", getGameType())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("amount", getAmount())
            .append("status", getStatus())
            .append("wxUser", getWxUser())
            .append("dept", getDept())
            .toString();
    }
}
